﻿namespace MagicWorld.DDD.Domain.Types
{
    public interface IMovable
    {
        // 相当于组件
        Transform GetPosition();

        Vector GetVelocity();

        // 行为
        void MoveTo(long x, long y);

        void StartMove(long velX, long velY);

        void StopMove();

        bool IsMoving();
    }
}